<template>
  <div class="mynews">
    <headernav :title="title" />
    <div class="view">
      <div class="icon">
        <i class="iconfont icon-kongbai"></i>
      </div>
      <div class="word"><span>空空如也</span></div>
    </div>
  </div>
</template>

<script>
import headernav from "./headernav.vue";
export default {
  data() {
    return {
      title: "",
    };
  },
  created() {
    this.title = this.$route.query.title;
  },
  components: { headernav },
};
</script>

<style lang="less">
.mynews {
  padding-top: 40px;
  .view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    .icon {
      margin-top: 40px;
      width: 100%;
      justify-content: center;
      display: flex;
      i {
        color: #ccc;
        font-size: 160px;
      }
    }
    .word {
      height: 60px;
      font-size: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #ccc;
    }
  }
}
</style>